package Zuoyi;

public class FruitTest01 {
    Fruit fruit = new Fruit();
        fruit.setName("香蕉");
        fruit.setArea("版纳");
        fruit.setPrice(4);
        System.out.println(Fruit);

    Fruit fruit1 = new Fruit();
        fruit1.setName("龙眼");
        fruit1.setArea("福建");
        fruit1.setPrice(15);
        System.out.println(FruitTest01);

    Fruit fruit2 = new Fruit();
        fruit2.setName("荔枝");
        fruit2.setArea("广东");
        fruit2.setPrice(12);
        System.out.println(FruitTest02);
}
}
